/**
 * Copyright (C) 2020-2021   江西省农村信用社联合社
 * All rights reserved
 */
package com.liuyucheng.idea_springboot.job;

import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.quartz.JobExecutionContext;
import org.springframework.scheduling.quartz.QuartzJobBean;

@Slf4j
public class ReadFtpFileJob extends QuartzJobBean {


    @SneakyThrows
    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext) {
        long start = System.currentTimeMillis();
        log.info("[ReadFtpFileJob]开始执行");



        log.info("[ReadFtpFileJob]完成执行,整体耗时:{}秒",(System.currentTimeMillis()-start)/1000);
    }

}
